package com.xzkydz.sensor;


import com.xzkydz.sensor.utils.SensorLogger;

/**
 * 传感器解析初始化类
 * 定义了一些常量
 */
public class SensorInit {

    /**
     * 是否打印LOG
     */
    public static boolean SHOW_LOG = true;
    public static final String TAG_SERIAL_PORT = "串口";

    /**
     * 打印日志
     * @param tag
     * @param msg
     */
    public static void printLog(String tag, String msg){
        if (SHOW_LOG) {
            SensorLogger.d(msg);
        }
    }

}
